package com.woniuxy01;

public class Test03 {
    public static void main(String[] args) {
        String s1="aaa";
        String s2=new String("aaa");
        String s3=new String(new char[]{'a','b','c'});
        System.out.println(s3.length());
        String s4=new String(new byte[]{97,98,99});
        System.out.println(s4.length());
        String s5=new String(new byte[]{97,98,99},0,1);
        System.out.println(s5.length());
    }


}
